package com.probox.common.entity.domain.system;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class SysRegin implements Serializable {



    private Long oldUid;

    @NotNull(message = "编号不能为空")
    private Long uid;

    @NotNull(message = "名称不能为空")
    @Length(message = "名称最大长度为30", max = 30)
    private String name;

    private Long puid;

    @NotNull(message = "类型不能为空")
    private String type;

    private String pType;

    private String dataStatus;
}
